package com.sharding.demo.service;
 
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sharding.demo.entity.Orders;
import com.sharding.demo.vo.OffocialDemoVo;
import com.sharding.demo.vo.OrdersVo;
import com.sharding.demo.vo.UserStaticsVo;

import java.util.List;

public interface OrdersService extends IService<Orders> {

    IPage<Orders> selectPageVo(Page<Orders> page, Orders state, String orderBy, Boolean asc);

    List<Orders> selectManualPage(Long lastId, Integer pageSize, OrdersVo state);

    List<UserStaticsVo> staticsUser();


    List<UserStaticsVo> staticsUserSingle();

    List<OffocialDemoVo> officialDemo(OrdersVo state);
}